import helper
import level2
import level3
import level4
import level5
import level6

proc start() =
  echo "欢迎游玩此游戏"
  echo "请输入1开始游戏"
  echo "请输入2选关"
  var s = stdin.readLine()
  if s == "1":
    helper.clear()
    echo "今天爸妈不在家"
    echo "你在自己的的房间里"
    echo "房间里有一个衣柜"
    echo "快发来衣柜穿上女装吧"
    echo "请输入1打开衣柜"
    var s2 = stdin.readLine()
    if s2 == "1":
        echo "成功穿上了女装"
        helper.clear()
        echo "输入0进入第二关"
        var a = stdin.readLine()
        if a == "0":
          level2.start()
  elif s=="2":
    echo "请输入关卡号"
    var l = stdin.readLine()
    if l == "1":
      start()
    elif l == "2":
      level2.start()
    elif l == "3":
      level3.start()
    elif l == "4":
      level4.start()
    elif l == "5":
      level5.start()
    elif l == "6":
      level6.start()

start()